#pragma once

#include "IComponent.h"

class CameraComponent : public IComponent
{
public:
	CameraComponent();
	~CameraComponent();

    void SetDeltaPosition(const Vector2D<s32>& position);
    void SetPosition(const Vector2D<s32>& position);
    void SetX(s32 x);
    void SetY(s32 y);

    const Vector2D<s32>& GetPosition() const { return m_position; }

private:
	Vector2D<s32> m_position;

#define ICOMPONENT_I
#include ICOMPONENT_H
};

